package com.woniuxy01;


/**
 * @author 作者
 * @create 2025-10-30 16:39
 */
public class Test01 {
    public static void main(String[] args) {
        Cat cat1=new Cat("cat1",1,100);
//        System.out.println(cat1.showInfo());

        Dog dog1=new Dog("dog1",2,80);
//        System.out.println(dog1.showInfo());

        System.out.println(cat1);
//        System.out.println(cat1.toString());
        System.out.println(dog1);
//        System.out.println(dog1.toString());
    }
}
